package com.qkm.xinguan.repository;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qkm.xinguan.domain.entity.Order;
import com.qkm.xinguan.response.Result;

/**
 * 购物车表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-12-21 18:45:42
 */
public interface OrderRepository extends IService<Order> {
	Result getAllOrderById(Long id);

	boolean deleteByHouseId(Long tourist, Long houseId);

	boolean clearOrder(Long tourist);
}

